<template>
<NavBar />
  <router-view></router-view>
</template>

<script>

import NavBar from './components/NavBar.vue'
import "bootstrap/dist/css/bootstrap.min.css"
import "bootstrap/dist/js/bootstrap"
// import $ from 'jquery'

 export default{
  components: {
    NavBar
  },
  setup() {
  //   $.ajax({
  //   url: "http://127.0.0.1:3000/user/account/info/",
  //   type: "get",
  //   headers: {
  //     Authorization: "Bearer " + "eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIwZTM5ZmEyNWZkZmE0MGFkOGY1NjM4Nzg1ZWVhMjY3OSIsInN1YiI6IjIiLCJpc3MiOiJzZyIsImlhdCI6MTY4NjI4NjAxNCwiZXhwIjoxNjg3NDk1NjE0fQ.u1r9PUGh3JXggf03z0Y21GKt95PYZeQnFyviVAeVER8"
  //   },
  //   success(resp) {
  //     console.log(resp);
  //   },
  //   error(resp) {
  //     console.log(resp);
  //   }
  // });


  // $.ajax({
  //   url: "http://127.0.0.1:3000/user/account/register/",
  //   type: "post",
  //   data: {
  //     username: "小王",
  //     password: "123",
  //     confirmedPassword: "123",

  //   },
  //   success(resp) {
  //     console.log(resp);
  //   },
  //   error(resp) {
  //     console.log(resp);
  //   }
  // })

       
     }
 }

 
</script>


<style>
body{
   background-image: url("@/assets/images/huzi.jpg"); 
 
    background-repeat: no-repeat; 
    /* background-position: center center;   */
    background-size: cover;  
    /* min-height: 100vh; */
    
  
}


</style> 


